package com.hlhj.funlike_business.bean;

import java.util.List;

public class FoodDetailBean {

    /**
     * code : 1
     * msg : 请求成功
     * data : {"id":66,"sell_num":4,"photos":["http://waimai.wufenhuyu.com/upload/goods/20190102/a28f9ef72cda48d11631650856ce0031.jpg"],"goods_name":"珍珠米饭1份","price":"1.00","is_discount":1,"discount":0,"details":"精选东北珍珠米焖煮出的珍珠米饭，白糯鲜香，给你满满的满足","is_restrictions":1,"num":0,"is_sell":2,"type_id":44,"is_specifications":2,"discount_price":"1.00","photo":"http://waimai.wufenhuyu.com/upload/goods/20190102/a28f9ef72cda48d11631650856ce0031.jpg","this_price":"1.00","attr":[{"id":63,"name":"164646"}]}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 66
         * sell_num : 4
         * photos : ["http://waimai.wufenhuyu.com/upload/goods/20190102/a28f9ef72cda48d11631650856ce0031.jpg"]
         * goods_name : 珍珠米饭1份
         * price : 1.00
         * is_discount : 1
         * discount : 0
         * details : 精选东北珍珠米焖煮出的珍珠米饭，白糯鲜香，给你满满的满足
         * is_restrictions : 1
         * num : 0
         * is_sell : 2
         * type_id : 44
         * is_specifications : 2
         * discount_price : 1.00
         * photo : http://waimai.wufenhuyu.com/upload/goods/20190102/a28f9ef72cda48d11631650856ce0031.jpg
         * this_price : 1.00
         * attr : [{"id":63,"name":"164646"}]
         */

        private int id;
        private int sell_num;
        private String goods_name;
        private String price;
        private int is_discount;
        private float discount;
        private String details;
        private int is_restrictions;
        private int num;
        private int is_sell;
        private int type_id;
        private int is_specifications;
        private String discount_price;
        private String photo;
        private String this_price;
        private List<String> photos;
        private List<AttrBean> attr;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getSell_num() {
            return sell_num;
        }

        public void setSell_num(int sell_num) {
            this.sell_num = sell_num;
        }

        public String getGoods_name() {
            return goods_name;
        }

        public void setGoods_name(String goods_name) {
            this.goods_name = goods_name;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public int getIs_discount() {
            return is_discount;
        }

        public void setIs_discount(int is_discount) {
            this.is_discount = is_discount;
        }

        public float getDiscount() {
            return discount;
        }

        public void setDiscount(float discount) {
            this.discount = discount;
        }

        public String getDetails() {
            return details;
        }

        public void setDetails(String details) {
            this.details = details;
        }

        public int getIs_restrictions() {
            return is_restrictions;
        }

        public void setIs_restrictions(int is_restrictions) {
            this.is_restrictions = is_restrictions;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public int getIs_sell() {
            return is_sell;
        }

        public void setIs_sell(int is_sell) {
            this.is_sell = is_sell;
        }

        public int getType_id() {
            return type_id;
        }

        public void setType_id(int type_id) {
            this.type_id = type_id;
        }

        public int getIs_specifications() {
            return is_specifications;
        }

        public void setIs_specifications(int is_specifications) {
            this.is_specifications = is_specifications;
        }

        public String getDiscount_price() {
            return discount_price;
        }

        public void setDiscount_price(String discount_price) {
            this.discount_price = discount_price;
        }

        public String getPhoto() {
            return photo;
        }

        public void setPhoto(String photo) {
            this.photo = photo;
        }

        public String getThis_price() {
            return this_price;
        }

        public void setThis_price(String this_price) {
            this.this_price = this_price;
        }

        public List<String> getPhotos() {
            return photos;
        }

        public void setPhotos(List<String> photos) {
            this.photos = photos;
        }

        public List<AttrBean> getAttr() {
            return attr;
        }

        public void setAttr(List<AttrBean> attr) {
            this.attr = attr;
        }

        public static class AttrBean {
            public AttrBean(int id, String name) {
                this.id = id;
                this.name = name;
            }

            /**
             * id : 63
             * name : 164646
             */


            private int id;
            private String name;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
